<?php

class Application_Form_Clase extends Zend_Form
{

    public function init()
    {
       	$this->setMethod('post');
    	
	// Add an email element
	$this->addElement('text', 'unnombre', array(
	    'label'      => 'Nombre de la clase:',
	    'required'   => true,
	    'filters'    => array('StringTrim'),
	));
                
        
        
        //Agrega Combo
        $combo = new Application_Form_Element_Comboprofesores('combo_profesores');
        $this->addElement(
           $combo
	);
                
        // Add the submit button
        $this->addElement('submit', 'submit', array(
                    'ignore'   => true,
                    'label'    => 'Enviar',
              ));
    }
}

